/**
 * Created by zhaojm on 15/4/24.
 */
game.BaseRole = cc.Class.extend({
    ctor:function(){

    },


    getPositionX:function(){
        return this._sprite.x;
    },
    getPositionY:function(){
        return this._sprite.y;
    },

    getPosition:function(){
        return this._sprite.getPosition();
    },

    setPosition:function(pos){
        this._sprite.setPosition(pos);
    },

    setRotation:function(rotation){
        this._sprite.setRotation(rotation);
    },

    getWidth:function(){
        return this._sprite.getContentSize().width;
    },

    getContentSize:function(){
        return this._sprite.getContentSize();
    },

});